#ifndef _MY_XBOX_CONT_H_
#define _MY_XBOX_CONT_H_

// SDL Includes

// System Includes
#include <windows.h>
#include <XInput.h>

#pragma comment(lib, "XInput.lib")

class MyXBoxCont
{
  public:
    MyXBoxCont( int iCont );
    ~MyXBoxCont();

    bool isActive();

    const XINPUT_STATE& xState();
    
	void makeVibrate( int l, int r );

  protected:
    bool         _bAct;
    int          _iCont;
    XINPUT_STATE _xState;
};

#endif // _MY_XBOX_CONT_H_